#pragma once
#include <base_definition.h>
#include <bootinfo.h>

extern u32 kn_start;
extern u32 kn_start_sec;
extern u32 kn_end;
extern u32 kn_size;
extern u32 kn_sec_nm;
extern u32 kn_magic;
extern u32 alloc_pos;

#define kernel_start ((ptr)(&kn_start))
#define kernel_start_sec ((ptr)(&kn_start_sec))
#define kernel_end ((ptr)(&kn_end))
#define kernel_size ((ptr)(&kn_size))
#define kernel_sec_nm ((ptr)(&kn_sec_nm))
#define kernel_magic (kn_magic)
